package com.cskaoyan.javase.oop3._1interface._4example.dao;

import com.cskaoyan.javase.oop3._1interface._4example.model.Goods;

/**
 * 制定对外提供商品数据处理的服务的规范
 *
 * @since 09:32
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public interface IGoodsDao {
    Goods[] getAllRealGoods();

    boolean judgeIdRepeat(int id);

    boolean createGoodsByIdNotRepeat(Goods goodsInsert);
}
